'Declaration
Public Overloads Function GetValueAsEnum(Of T As {New, Enum, Struct})( _ ByVal defaultValue As T _ ) As T
public T GetValueAsEnum<T>( T defaultValue ) where T: new(), Enum, struct
Parameters
- defaultValue
Type Parameters
- T
'Declaration
Public Overloads Function GetValueAsEnum(Of T As {New, Enum, Struct})( _ ByVal defaultValue As T _ ) As T
public T GetValueAsEnum<T>( T defaultValue ) where T: new(), Enum, struct